package com.ruoyi.firststage.service.impl;

import com.ruoyi.firststage.domain.BrandCategory;
import com.ruoyi.firststage.domain.BrandCategoryTest;
import com.ruoyi.firststage.mapper.BrandCategoryMapper;
import com.ruoyi.firststage.mapper.BrandCategoryTestMapper;
import com.ruoyi.firststage.service.IBrandCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @创建人 cbx
 * @创建时间 2018/11/8 0008 上午 10:25
 * @描述
 */
@Service
public class BrandCategoryServiceImpl implements IBrandCategoryService{
    @Autowired
    private BrandCategoryTestMapper brandCategoryMapperTest;
    @Autowired
    private BrandCategoryMapper brandCategoryMapper;

    @Override
    public List<BrandCategory> selectBrandCategoryList(BrandCategory brandCategory) {
        return brandCategoryMapper.selectBrandCatgegoryList(brandCategory);
    }

    @Override
    public List<BrandCategoryTest> selectBrandCategoryListTest(BrandCategoryTest BrandCategory) {
        return brandCategoryMapperTest.selectBrandCatgegoryListTest(BrandCategory);
    }

    @Override
    public List<String> selectAllBrand() {
        return brandCategoryMapper.selectAllBrand();
    }
}
